package com.woniuxy.jiapei.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.jiapei.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.jiapei.vo.ShareholdersQueryVo;
import com.woniuxy.jiapei.vo.ShareholdersVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lr
 * @since 2020-10-21
 */
public interface UserService extends IService<User> {

    IPage<ShareholdersVo> selectShareholderList(Page<ShareholdersVo> page, ShareholdersQueryVo vo);
    List<ShareholdersVo> selectShareholderListExcel(ShareholdersQueryVo vo);

    void addShareholder(ShareholdersVo vo);

    void deleteShareholder(Integer id);

    void updateShareholder(ShareholdersVo vo);
}
